package org.itboys.fuzion.constant;

/**
 * 常量定义
 * @author weisky
 *
 * 2016年4月8日
 */
public class FuzionConstants {
	
	public static final Integer TYPE_ZERO = 0;
	public static final Integer TYPE_ONE = 1;
	public static final Integer TYPE_TWO = 2;
	public static final Integer TYPE_THREE = 3;
	public static final Integer TYPE_FOUR = 4;
	
	public static final String FUZION_MEMBER_PREFIZ_KEY = "fuzion_member_weixin_";//会员重要信息缓存的前缀key
	
	//第三方登入类型
	public static final String THIRD_TYPE_APP = "app";
	public static final String THIRD_TYPE_WEIXIN = "weixin";
	public static final String THIRD_TYPE_QQ = "QQ";
	public static final String THIRD_TYPE_WEIBO = "weibo";
	
	public interface Seller{
		public static final Integer SELLER_SELF_MEMBER = 99;//代表店铺自己的会员
		public static final String SELLER_MEMBER_PATH = "/";//会员path路径分隔符
	}
	
	public interface IncomeExpenditure{//收支类型
		public static final String UNKNOWN = "0";//未知来源
		public static final String SELLER = "1";//店铺奖励
		public static final String MEMBER = "2";//会员分红
		public static final String WITHDRAWS = "3";//提现
		public static final String SHOPPING_BEAN = "4";//能量豆购买商品
		public static final String SHOPPING_MONEY = "5";//现金购买商品
		public static final String BEAN_SHOPPING = "6";//现金购买能量豆
		public static final String DISTRIBUTION_MONEY = "7";//分销收益
		public static final String TEAM_OPEN_GIVE_MONEY = "8";//队员的开奖分红
		public static final String OPEN_GIVE_MONEY = "9";//开奖分红
	}
	
	public interface Money{//会员类型
		public static final int BRONZE_MONEY = 1;//青铜级别
		public static final int PLATINA_MONEY = 2;//白金
		public static final int KING_MONGEY = 3;//王者级别
		public static final int ZHANSHEN_MONGEY = 4;//战神级别
		public static final int TIANGANG_MONGEY = 5;//天罡级别
		public static final int JIAOFU_MONGEY = 6;//教父级别
	}
	
}
